package com.qianduo.dao;

import java.util.List;

import com.qianduo.exception.DaoException;
import com.qianduo.po.QianduoAccount;
import com.qianduo.po.QianduoAccountView;
import common.page.PageList;

public interface IAccountDao {
	public void saveOrUpdateAccount(QianduoAccount account) throws DaoException;
	public QianduoAccountView getQianduoAccount(String username) throws DaoException;
	public QianduoAccountView getQianduoAccount(String username,String password) throws DaoException;
	public List<QianduoAccountView>	listAccount(String username,Integer accountType,Integer agencyID,String agencyName,String ext,String phone,Integer isVerify,Integer isCert,Integer isBusinessLicense,Integer recommendStar,Integer cityID,String companyName,String productType,String address,PageList pageList) throws DaoException; 
}
